<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta name="layout" content="main" />
<title>Profilaendern</title>
</head>
<body>
	<g:if test="${flash.message}">
		<div class="message">
			${flash.message}
		</div>
	</g:if>
	<g:hasErrors bean="${Profilaendern}">
		<ul>
			<g:eachError var="err" bean="${Profilaendern}">
				<li>
					${err}
				</li>
			</g:eachError>
		</ul>
	</g:hasErrors>
	<g:form controller="user" method="post">
		<div class="dialog">
		<p style="font-weight: bold; padding-top:10px;">Profildaten &auml;ndern</p>
			<table cellpadding="5" cellspacing="5" width="457" border="0">
				<tr>
					<td>Benutzername</td>
					<td>${session.user.benutzername}
					</td>
				</tr>
				<tr>
					<td width="158">Vorname</td>
					<td width="240">${session.user.vorname}
					</td>
				</tr>
				<tr>
					<td>Nachname</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="nachname" size="40"
						value="${session.user.nachname}" />
					</td>
				</tr>
				<tr>
					<td>Stra&szlig;e</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="strasse" size="40"
						value="${session.user.strasse}" />
					</td>
				</tr>
				<tr>
					<td>Postleitzahl</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="plz" size="40"
						value="${session.user.plz}" />
					</td>
				</tr>
				<tr>
					<td>Ort</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="ort" size="40"
						value="${session.user.ort}" />
					</td>
				</tr>
				<tr>
					<td>Land</td>
					<td><g:select name="land"
							from="['Deutschland', 'Polen', 'Schweiz']"
							noSelection="['':'Suchen Sie ihr Land aus!']"
							value="${session.user.land}" /></td>
				</tr>
				<tr>
					<td>eMail</td>
					<td>${session.user.email}
					</td>
				</tr>
				<tr>
					<td>Geburtstag</td>
					<td>${session.user.geburtstag}
					</td>
				</tr>
				<tr>
					<td>Kontonummer</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="kontonr" size="40"
						value="${session.user.kontonr}" />
					</td>
				</tr>
				<tr>
					<td>Bankleitzahl</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="blz" size="40"
						value="${session.user.blz}" />
					</td>
				</tr>
				<tr>
					<td>Bankinstitut</td>
					<td><input style="font-family:Verdana, Geneva, sans-serif" type="text" name="bank" size="40"
						value="${session.user.bank}" />
					</td>
				</tr>
				<tr>
					<td>Neues Passwort</td>
					<td><input type="password" name="password" size="40" /></td>
				</tr>
				<tr>
					<td>Neues Passwort Wiederholung</td>
					<td><input type="password" name="password_wiederholung"
						size="40" /></td>
				</tr>


			</table>
		</div>
		<div class="buttons">
			<span class="button"> <g:actionSubmit action="profilaendern" style="font-family:Verdana, Geneva, sans-serif" value="Profil &auml;ndern" /> </span>
		</div>
	</g:form>

</body>
</html>